// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/styles/reset.css'
import './assets/styles/border.css'
//  reset.css  解决 不用手机浏览器中默认样式不统一的问题
//  border.css 解决1px在某些移动设备上显示成多像素的问题
//  npm install fastclick --save  解决click 300ms延时依赖的问题
//  使用stylus方便写CSS: npm install stylus --save;npm instal stylus-loader --save
import fastClick from 'fastclick'
import './assets/styles/iconfont.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

import { swiper, swiperSlide } from 'vue-awesome-swiper'
import axios from 'axios'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper,/* { default global options } */)
Vue.prototype.$axios = axios
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App ,
                swiper,
                swiperSlide
  },
  template: '<App/>'
})

// 路由就是根据网址的不同 返回不同的内容
